#ifndef STORAGE_H
#define STORAGE_H
#include<QString>
#include<QDebug>
class Storage
{
public:
    Storage();
    long user_id;
    long food_id;
    int amount;
    QString name;
    QString pic;
    QString unit;
    QString type;
    QString info;
    QString alias;
    friend QDebug operator << (QDebug os, Storage storage){
            os << "(" << storage.user_id << ", "
                  << storage.food_id << ", "
                     << storage.amount << ", "
                        << storage.name << ", "
                            << storage.pic << ")";
            return os;
        }
};

#endif // STORAGE_H
